home *** CD-ROM | disk | FTP | other *** search
- The action file includes all sorts of things to be done. The operations
- are shown below. {search} is any search for a message as specified in
- SEARCH.DOC. Comments are any line that starts with ; or * There are two
- types of operations: Immediate and Deferred. Immediate actions occur
- during command processing or messages being received. Deferred actions
- occur only when the proper "A" command is executed.
-
- IMMEDIATE ACTIONS
- --------- -------
-
- HOLD {search}
-
- This says to hold a message that matches the search. Files will be
- marked as held by SYSOP. {search} is any search for a message as
- specified in SEARCH.DOC.
-
- Example:
-
- HOLD < AA4RE
-
- Holds all messages from AA4RE
-
- REVIEW {search}
-
- This says to put a message in review status that matches the search.
- {search} is any search for a message as specified in SEARCH.DOC.
-
- Example:
-
- REVIEW % AA4RE
-
- Mark for review all messages created locally at AA4RE
-
- HOLD_OLD {search}
-
- This says to hold a message that matches the search but reason will
- be too old rather than help by operator. {search} is any search for
- a message as specified in SEARCH.DOC.
-
- Example:
-
- HOLD < AA4RE
-
- Holds all messages from AA4RE
-
- REJECT {search}
-
- This says to reject a message that matches the search. A rejected
- message may not even arrive at the BBS. Also see the parameter
- REJECT_ACTION in PARMS.DOC. {search} is any search for a message as
- specified in SEARCH.DOC.
-
- Example:
-
- REJECT > SALE & @ USA
-
- Rejects all messages addressed to SALE @ USA
-
- Note: The first pass at a reject action occurs when just the
- the send command is received. Some fields are not available
- for testing like SUBJECT and FROM-BBS.
-
- DENY_NEW_MSG {message_num} {search}
-
- This says to not permit a user to originate a message at this BBS.
- The {message_num} parameter indicates which message is to be
- displayed if the {search} is met. It will be between 0 at 9. The
- real message number will be 140 + this parameter. {search} is any
- search for a message as specified in SEARCH.DOC.
-
- Examples:
-
- DENY_NEW_MSG 3 > SALE & @ USA
-
- Rejects all messages addressed to SALE @ USA and uses
- message # 143
-
- DENY_NEW_MSG 2 C U & ^ > SYSOP
-
- Reject any messages from new or unregistered users unless
- addressed to SYSOP and uses message # 142
-
- Note: The deny action will be checked twice. Once before the
- subject is available and once afterwards.
-
- Note 2: DENY_NEW_MSG should appear before REJECT and HOLD in the
- ACTION.BB
-
- TELL_AFTER_SUBJECT {message_num} {search}
- TELL_AT_END {message_num} {search}
-
- This says to tell the user something during a send message command
- either:
- 1) after the subject is processed
- 2) at the end
-
- The {message_num} parameter indicates which message is to be
- displayed if the {search} is met. It will be between 0 at 9. The
- real message number will be 190 + this parameter. {search} is any
- search for a message as specified in SEARCH.DOC.
-
- Examples:
-
- TELL_AFTER_SUBJECT 3 > SALE & @ USA
-
- Tells user something about a message addressed to SALE @ USA and
- uses message # 193
-
- TELL_AT_END 2 !S > 5000
-
- Tells user something about a message whose size is more than
- 5000 bytes and uses message # 192
-
- CHANGE_ADR {search} => {address}
-
- Changes an address. {search} is any search for a message as
- specified in SEARCH.DOC. {address} is a standard packet address in
- the form of "xxxx @ yyyy.zzzz". xxxx must be supplied and valid. The
- others can be omitted but the defaults may not fit what you want.
- Any of the three (xxxx, yyyy, or zzzz) can be "=" which means leave
- the same as before or the special word "NONE" which means to erase
- this part of the address.
-
- Examples:
-
- CHANGE_ADR & @ USA => = @ ALLUS
- CHANGE_ADR > 4SALE & @ USA => SALE @ =
-
- DISTRIBUTE {name} {search}
-
- Specifies which distribution/carbon-copy list is to be used. If
- {name} is a simple word, it will follow the normal name resolution.
- If {name} is an actual file, that will supersede the name resolution
- system. Note that carbon-copy lists must have an extension of '.CC'.
- {search} is any search for a message as specified in SEARCH.DOC.
-
- Examples:
-
- DISTRIBUTE ALLCA @ ALLUS
-
- Use ALLCA for messages addressed to ALLUS. First ALLCA.CC
- will be tried then ALLCA.DIS.
-
- DISTRIBUTE C:\BB\DISTINFO\ALLCA.DIS @ ALLUS
-
- Use the file C:\BB\DISTINFO\ALLCA.DIS for messages addressed
- to ALLUS.
-
- DEFINE_USER_COMMAND {alias} {real command}
- DEFINE_OPERATOR_COMMAND {alias} {real command}
-
- This allows you to define some alias for a command. The first word
- on all commands is matched against the alias. When the match occurs,
- the real command is executed. The real command is expanded by the
- using the "$" substitution. $1 contains the parameters originally
- on the line.
-
- Examples:
-
- DEFINE_USER_COMMAND LAST LL $1
-
- When a user executes "LAST 3", it is converted to "LL 3"
-
- Note that the privilege class of the substituted command is IGNORED
- thus the following is legal:
-
- DEFINE_USER_COMMAND SEARCHDB EX [AOS] MYPROG.COM $y $1
-
- DEFINE_OPERATOR_COMMAND will only work for the operator (remote
- and local) while DEFINE_USER_COMMAND works for everyone.
-
-
- DEFERRED ACTIONS
- -------- -------
-
- MAKE_FILE {options} {fileid} {search}
- MAKE_FILE_REPLACE
- MAKE_FILE_APPEND
-
- Makes a file from a message. {fileid} is the file to be used be
- used. Substitution parameters that are the same as for messages
- (see MESSAGE.BB) can be used. The file must not exist for MAKE_FILE.
- If MAKE_FILE_REPLACE is used, then if the file already exists, it
- will be replaced. If MAKE_FILE_APPEND is used, the the message will
- be added at the end of the file; if the file doesn't exist, it will
- be created. {search} is any search for a message as specified in
- SEARCH.DOC.
-
- {options} are enclosed in square brackets and do not have to
- be present. The only valid option is "K" which kills the message
- after the file is made.
-
- Examples:
-
- MAKE_FILE C:\RACES\$b > RACES & $ RACESBUL.*
-
- Change anything addressed to RACES with a BID of RACESBUL into a
- file and stick it into the RACES subdirectory
-
- MAKE_FILE_REPLACE C:\ARRL\ARRLPROP $ ARLP*
-
- A propagation bulletin will replace its predecessor in the file
- called ARRLPROP.
-
- MAKE_FILE [K] $M.OP > SYSOP & F
-
- Makes messages to SYSOP into files after they are forwarded.
- In addition, the messages are killed once the file is made.
-
- CLEAN_MSGS {type} {search}
-
- Used for general message housekeeping. Its purpose is to remove
- superseded messages like AMSAT orbital data. {type} indicates ARRL,
- AMSAT, RACES, RTTYDX, GENERATE, or DATE. This refers to how the BID
- is used. Both RACES and ARRL bids end in numbers but the ARRL
- numbers are recycled at the end of the year. AMSAT news and orbital
- data have the format that looks like xxx-ddd.vv where the applicable
- number (ddd) is just in front of the "." RTTYDX uses a format of
- xxxxxxxdddx. If the GENERATE {type} is used, the standard
- generated bid of dddddd_bbs is assumed. If {type} is DATE, then only
- the last message received will be kept and the bid is ignored.
- {search} is any search for a message as specified in SEARCH.DOC.
-
- Examples:
-
- CLEAN_MSGS ARRL $ ARLP###
- CLEAN_MSGS ARRL $ ARLD###
- CLEAN_MSGS ARRL $ ARLS###
- CLEAN_MSGS AMSAT $ ORBS-###.*
- CLEAN_MSGS AMSAT $ ANS-###.##
- CLEAN_MSGS RACES $ RACESBUL.###
- CLEAN_MSGS RTTYDX $ RTDX####=
-
- These examples clean away old ARRL DX bulletins, prop bulletins,
- satellite bulletins, AMSAT orbital data, AMSAT news, and RACES
- bulletins.
-
- Note 1: Both AMSAT and ARRL types have special code to cover the
- yearend wrap (Example: when ARLD052 is followed by ARLD001)
-
- Note 2: GENERATE has special code to ignore the distant BBS doing
- a message renumber.
-
-
- ORDERING
- --------
-
- The first match that is seen will be acted on. Example
-
- REJECT > SALE & @ USA
- HOLD @ USA
-
- A message addressed to SALE @ USA will be rejected because the REJECT is
- seen first. The message addressed to ALL @ USA will just be held.
-
- Also, the order is import for CHANGE_ADR and HOLD. Example:
-
- HOLD @ ALLUS
- CHANGE @ USA => = @ ALLUS
-
- Messages @ USA will NOT be held since the change action is executed
- after the HOLD action.
-
- One further example:
-
- CHANGE_ADR > SYSOP & @ AA4RE => AA4RE
- CHANGE_ADR @ AA4RE => = @ NONE
-
- If a message comes in addressed to SYSOP @ AA4RE, it is readdressed
- to AA4RE @ AA4RE. Why not AA4RE @ (blank)? The first line satisfied
- the search so the search stopped. The correct way to do this is:
-
- CHANGE_ADR > SYSOP & @ AA4RE => AA4RE @ NONE
- CHANGE_ADR @ AA4RE => = @ NONE
-
- You must make all the action happen with the one line!
-
-
- NEGATION
- --------
-
- Putting a NO in front of a word will negate it. Example:
-
- NOHOLD > SALE & @ USA
- HOLD @ USA
-
- A message addressed to SALE @ USA will go thru because the NOHOLD is
- seen first. The message addressed to ALL @ USA will be held.
-
- Note: NOCHANGE_ADR does not require the => xxxx @ yyyy.ZZZZ portion.
- Example:
-
- NOCHANGE > ALL & @ USA
-